package cn.risebd.pay.conf;

import cn.risebd.wechat.sdk.api.ApiConfig;

/**
 * TODO: 增加描述
 * 
 * @author yiz
 * @date 2016年5月13日 下午5:24:22
 * @version 1.0.0 
 * @copyright pycredit.cn 
 */
public class PayApiConfig extends ApiConfig {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3322414234923598079L;

	private String partner;

	private String paternerKey;

	private String notify_url;

	public String getPartner() {
		return partner;
	}

	public void setPartner(String partner) {
		this.partner = partner;
	}

	public String getPaternerKey() {
		return paternerKey;
	}

	public void setPaternerKey(String paternerKey) {
		this.paternerKey = paternerKey;
	}

	public String getNotify_url() {
		return notify_url;
	}

	public void setNotify_url(String notify_url) {
		this.notify_url = notify_url;
	}

	public PayApiConfig() {
	}

	public PayApiConfig(String token) {
		setToken(token);
	}

	public PayApiConfig(String token, String appId, String appSecret) {
		setToken(token);
		setAppId(appId);
		setAppSecret(appSecret);
	}

	public PayApiConfig(String token, String appId, String appSecret, boolean messageEncrypt, String encodingAesKey) {
		setToken(token);
		setAppId(appId);
		setAppSecret(appSecret);
		setEncryptMessage(messageEncrypt);
		setEncodingAesKey(encodingAesKey);
	}
}
